package cn.lecosa.spark.es.entity;

import java.io.Serializable;

public class QqObj implements Serializable{
	private String f_qq_id;
	private Double f_qq_degree;
	
	public QqObj() {
		super();
	}
	public QqObj(String f_qq_id, Double f_qq_degree) {
		super();
		this.f_qq_id = f_qq_id;
		this.f_qq_degree = f_qq_degree;
	}
	public String getF_qq_id() {
		return f_qq_id;
	}
	public void setF_qq_id(String f_qq_id) {
		this.f_qq_id = f_qq_id;
	}
	public Double getF_qq_degree() {
		return f_qq_degree;
	}
	public void setF_qq_degree(Double f_qq_degree) {
		this.f_qq_degree = f_qq_degree;
	}
	
	
	@Override
	public boolean equals(Object arg0) {
		if(arg0 instanceof QqObj){
			QqObj o = (QqObj)arg0;
			if ((o.getF_qq_id()==null&&this.f_qq_id==null) || o.getF_qq_id().equals(this.getF_qq_id()))
				return true;
		}
		return false;
	}
}
